<nav class="site-nav">
    <div class="site-nav-left">
        {{^is "home"}}
            {{#if @site.logo}}
                <a class="site-nav-logo" href="{{@site.url}}"><img src="{{@site.logo}}" alt="{{@site.title}}" /></a>
            {{else}}
                <a class="site-nav-logo" href="{{@site.url}}">{{@site.title}}</a>
            {{/if}}
        {{/is}}
        {{#if @site.navigation}}
            {{navigation}}
        {{/if}}
    </div>
    <div class="site-nav-right">
        <div class="social-links">
            {{#if @site.facebook}}
                <a class="social-link social-link-fb" href="{{facebook_url @site.facebook}}" title="Facebook" target="_blank" rel="noopener">{{> "icons/facebook"}}</a>
            {{/if}}
            {{#if @site.twitter}}
                <a class="social-link social-link-tw" href="{{twitter_url @site.twitter}}" title="Twitter" target="_blank" rel="noopener">{{> "icons/twitter"}}</a>
            {{/if}}
            <a class="social-link social-link-my" href="https://gitee.com/wangshiting" title="码云" target="_blank" rel="noopener">{{> "icons/mayun"}}</a>
            <a class="social-link social-link-gb" href="https://github.com/TimWST" title="github" target="_blank" rel="noopener">{{> "icons/github"}}</a>
            <a class="social-link social-link-xwb" href="http://weibo.com/wstee" title="新浪微博" target="_blank" rel="noopener">{{> "icons/weibo"}}</a>
            <a class="social-link social-link-zh" href="https://www.zhihu.com/people/wstee" title="知乎" target="_blank" rel="noopener">{{> "icons/zhihu"}}</a>
            <a class="social-link social-link-qq" href="tencent://AddContact/?fromId=50&fromSubId=1&subcmd=all&uin=1054877601" title="1054877601" target="_blank" rel="noopener">{{> "icons/qq"}}</a>
        </div>
        {{#if @labs.subscribers}}
            <a class="subscribe-button" href="#subscribe">订阅</a>
        {{else}}
            <a class="rss-button" href="https://feedly.com/i/subscription/feed/{{@site.url}}/rss/" title="RSS" target="_blank" rel="noopener">{{> "icons/rss"}}</a>
        {{/if}}
    </div>
</nav>